<template>
    <section>


        <div class="div_1">

            <h2>单件费用</h2>

                <table class='t_taskShow' >
            <thead>
                <tr>
                    <th>名称</th>
                    <th>备注</th>
                    <th>数量</th>
                    <th>单价</th>
                    <th>小计</th>
  
         
                </tr>

            </thead>
            <tbody>
                <tr v-for="(item,index) in currObj.detail2">
                    <td>
                        <span v-text="item.wageClass.name"></span>
                    </td>
                    <td>
                        <span v-text="item.memo"></span>
                    </td>
                    <td>
                        <span v-text="item.num"></span>
                    </td>
                    <td>
                        <span v-text="item.price"></span>
                    </td>
                    <td>
                        <span v-text="item.amount"></span>
                    </td>
                   
                </tr>

            </tbody>
        </table>
        
        </div>

        <div class="div_1">

            <h2>合计费用</h2>
                       <table class='t_taskShow' >
            <thead>
                <tr>
                    <th>名称</th>
                    <th>备注</th>
                    <th>数量</th>
                    <th>单价</th>
                    <th>小计</th>
  
         
                </tr>

            </thead>
            <tbody>
                <tr v-for="(item,index) in currObj.detail">
                    <td>
                        <span v-text="item.wageClass.name"></span>
                    </td>
                    <td>
                        <span v-text="item.memo"></span>
                    </td>
                    <td>
                        <span v-text="item.num"></span>
                    </td>
                    <td>
                        <span v-text="item.price"></span>
                    </td>
                    <td>
                        <span v-text="item.amount"></span>
                    </td>
                   
                </tr>

            </tbody>
        </table>


        </div>


    </section>
</template>
<script src="./t200Show.js"></script>

<style lang="scss" scoped >
    .div_1 {
        padding: 10px;
        border: 1px solid #eee;
    }


    .btn_wage {
        margin: 5px
    }
</style>